
function RemoveImg(web_base)
{
var content=document.getElementById('text').value;
var re=new RegExp("http(s?):([/|\\.|\\w|\\-])*\\.(?:jpg|gif|png|bmp|jpeg|tiff)", "gi");
document.getElementById('text').value = content.replace(re, web_base+"templates/default/images/newlook/Logo_rg.png");
}

